cd //home/zfj/workspace/esp-01/bin
#esptool.py --port /dev/ttyUSB0 erase_flash
# for sdk 1.56 no boot
#esptool.py --port /dev/ttyUSB0 write_flash 0x00000 eagle.flash.bin 0x40000 eagle.irom0text.bin 0xFC000 esp_init_data_default.bin 0xFE000 blank.bin
#esptool.py --port /dev/ttyUSB0 write_flash 0x00000 eagle.flash.bin 0x40000 eagle.irom0text.bin 

#for sdk 2.2 no boot
esptool.py --port /dev/ttyUSB0 write_flash 0x00000 eagle.flash.bin 0x10000 eagle.irom0text.bin 0xFC000 esp_init_data_default_v05.bin 0x7E000 blank.bin 0xFE000 blank.bin
#esptool.py --port /dev/ttyUSB0 write_flash 0x00000 eagle.flash.bin 0x10000 eagle.irom0text.bin 
